import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TestComponent } from './test.component';
import {RouterModule, Routes} from '@angular/router';

const testRoutes: Routes = [
  {path: '', component: TestComponent}
];
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(testRoutes)
  ],
  declarations: [TestComponent]
})
export class TestModule { }
